/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pkginterface;

import Telas.Principal;

/**
 *
 * @author aluno
 */

public class Interface {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {

       /* Agencia ag1 = new Agencia("01", "Alegre", "ES");
        Agencia ag2 = new Agencia("02", "Sabará", "MG");
        
        ag1.CadastraCliente(new Cliente("João", "3520-3364"));
        ag2.CadastraCliente(new Cliente("Maria", "3234-5143"));
        
        



        //////////////////////
        Diretor d1 = new Diretor();
        d1.DirigiAgencia(ag1);
        d1.CalculaSalario();
        System.out.println(d1.getSalarioTotal());
        ////////////////////////////////////
        Gerente g1 = new Gerente();
        g1.GerenciaAgencia(ag1);
        g1.GerenciaAgencia(ag2);
        g1.CalculaSalario();
        System.out.println(g1.getSalarioTotal());*/
        
        Principal tp = new Principal();
        tp.setLocationRelativeTo(tp);
        tp.setVisible(true);
    
    }
}
